package com.vfconsulting.common.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the ctl_audit_2g database table.
 * 
 */
@Entity
@Table(name="ctl_audit_2g")
public class CtlAudit2g implements Serializable {
	private static final long serialVersionUID = 1L;
	private String technology;
	private String controlCode;
	private String fileName;
	private Date processDate;
	private String structureCode;
	private int totalCdrs;
	private int totalSeconds;

    public CtlAudit2g() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(unique=true, nullable=false, length=2)
	public String getTechnology() {
		return this.technology;
	}

	public void setTechnology(String technology) {
		this.technology = technology;
	}


	@Column(name="control_code", length=10)
	public String getControlCode() {
		return this.controlCode;
	}

	public void setControlCode(String controlCode) {
		this.controlCode = controlCode;
	}


	@Column(name="file_name", length=60)
	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="process_date")
	public Date getProcessDate() {
		return this.processDate;
	}

	public void setProcessDate(Date processDate) {
		this.processDate = processDate;
	}


	@Column(name="structure_code", length=5)
	public String getStructureCode() {
		return this.structureCode;
	}

	public void setStructureCode(String structureCode) {
		this.structureCode = structureCode;
	}


	@Column(name="total_cdrs")
	public int getTotalCdrs() {
		return this.totalCdrs;
	}

	public void setTotalCdrs(int totalCdrs) {
		this.totalCdrs = totalCdrs;
	}


	@Column(name="total_seconds")
	public int getTotalSeconds() {
		return this.totalSeconds;
	}

	public void setTotalSeconds(int totalSeconds) {
		this.totalSeconds = totalSeconds;
	}

}